<?php
use yii\widgets\DetailView;

?>
<div class="sys-log-view">


    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'level',
            'category',
        	[
        		'label' => 'log_time',
        		'value' => date('Y-m-d H:i:s', $model->log_time)	
    		],
            'message:ntext',
            'prefix:ntext',
        ],
    ]) ?>

</div>
